package com.ruoyi.basics.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 货品类型管理对象 wms_goods_type
 * 
 * @author ruoyi
 * @date 2025-06-11
 */
public class WmsGoodsType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编码 */
    @Excel(name = "编码")
    private String code;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** ID */
    @Excel(name = "ID")
    private Long id;

    /** 状态 */
    private Integer status;

    /** 创建人id */
    private Long createUser;

    /** 创建人 */
    private String createName;

    /** 更新人id */
    private Long updateUser;

    /** 更新人 */
    private String updateName;

    /** 逻辑删除 0 删除 */
    private Integer logicDel;

    public void setCode(String code) 
    {
        this.code = code;
    }

    public String getCode() 
    {
        return code;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setCreateUser(Long createUser) 
    {
        this.createUser = createUser;
    }

    public Long getCreateUser() 
    {
        return createUser;
    }

    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }

    public void setUpdateUser(Long updateUser) 
    {
        this.updateUser = updateUser;
    }

    public Long getUpdateUser() 
    {
        return updateUser;
    }

    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }

    public void setLogicDel(Integer logicDel) 
    {
        this.logicDel = logicDel;
    }

    public Integer getLogicDel() 
    {
        return logicDel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("code", getCode())
            .append("name", getName())
            .append("id", getId())
            .append("status", getStatus())
            .append("remark", getRemark())
            .append("createUser", getCreateUser())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateUser", getUpdateUser())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .append("logicDel", getLogicDel())
            .toString();
    }
}
